package cn.ywsj.ywsjmidtier.service;

import cn.ywsj.ywsjmidtier.common.Connect;
import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Api(tags = "支付")
@FeignClient(url = Connect.XSX_URL,name = "xsx")
public interface WechatPaymentFeign {

    /**
     * 购物车_账期支付
     * @param jsonObject
     * @param type
     * @return
     */
    @ApiOperation("购物车_账期支付")
    @PostMapping("/wechat/member/payment/savesettlement")
    String saveSettlement(@RequestParam("jsonObject")JSONObject jsonObject, @RequestParam("type") Integer type);
}
